package com.snail.poker.uitls.excel;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Excel实体BEAN的属性注解
 * 
 * @author Snail
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ExcelAnnotation {

	/**
	 * Excel列名
	 * 
	 * @return
	 */
	public String name();

	/**
	 * Excel列宽
	 * 
	 * @return
	 */
	public int width();

	/**
	 * Excel列ID
	 * 
	 * @return
	 */
	public int id();
}
